<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>

<div id="Content" >
    <div id="MyList" th:if="(${session.account} != null) and (${session.authenticated})">
        <div th:if="${session.account.listOption}">
            <p>Pet Favorites<br />
                Shop for more of your favorite pets here
            </p>
            <ul>
                <li th:each="product:${session.myList}">
                    <a th:href="'/catalog/viewProduct?productId=' + ${product.productId}" th:text="${product.productId}"></a>
                </li>
            </ul>
        </div>
    </div>
</div>

</body>
</html>